/// <reference path="../TriggerHelper.ts" />

interface ICollider {

    id: number;
    sprite: egret.DisplayObject & IBody;

    _lateColliders: SomeBody[];
    triggers: ITriggerListener[];
    render(sprite: egret.Sprite)
    moveCollider();
    addTriggerListener(trigger: ITriggerListener)
    move(x: number, y: number, result: Result)

}

interface IBody {
    colliders?: ICollider[]
    moveCollider?();
}